# import statsout
	
# def output(data, format='text'):
# 	output_function = getattr(statsout,"output_%s" %format)
# 	return output_function(data)

import statsout
	
def output(data, format='text'):
	output_function = getattr(statsout,"output_%s" %format,statsout.output_text)
	return output_function(data)